/* *********
 *    Author: Jason He;
 *    Version: 0.0.1;
 *    Date: 2016-12-26;
 *    File: list.css;
 ********* */

body{
	position: relative;
}
.header{
	position: relative;
	background: #f5f5f5;
}
.header-logo{
	display: block;
	width: 52px;
	height: 44px;
	float: left;
}
.header-logo:before{
	content: "";
	display: block;
	width: 23px;
	height: 22px;
	margin: 10px auto 0;
	background: url("../img/list.png") 0 0;
	background-size: 200px auto;
}
.header-search-wrap{
	position: relative;
	height: 28px;
	margin: 7px 50px 0 52px;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 3px;
}
.header-search-city{
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	padding: 0 10px;
	line-height: 28px;
	font-size: 14px;
	color: #666;
}
.header-search-city:before{
	content: "";
	display: block;
	position: absolute;
	right: 0;
	top: 8px;
	width: 1px;
	height: 14px;
	background: #e6e6e6;
}
.header-search-city:after{
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 5px;
	border-top: 1px solid #666;
	border-right: 1px solid #666;
	transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
	vertical-align: 3px;
}
.header-search-btn{
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding-left: 64px;
	line-height: 28px;
	font-size: 12px;
	color: #999;
	text-align: left;
}
.header-search-btn:before{
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	float: left;
	margin: 8px 6px 0 10px;
	background: url("../img/index.png") -129px -27px;
	background-size: 200px auto;
}
.header-switch-btn{
	display: block;
	position: absolute;
	right: 0;
	top: 0;
	width: 50px;
	height: 44px;
}
.header-switch-btn:before{
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	margin: 0 auto;
}
.header-switch-btn:before{
	background: url("../img/list.png") -53px 0;
	background-size: 200px auto;
}
.header-switch-btn.big:before{
	background: url("../img/list.png") -28px 0;
	background-size: 200px auto;
}
.nav{
	display: flex;
	display: -webkit-flex;
	border-bottom: 1px solid #e6e6e6;
}
.nav > a{
	flex-grow: 1;
	-webkit-flex-grow: 1;
	line-height: 40px;
	font-size: 14px;
	color: #252825;
}
.nav a.active{
	color: #22ac38;
}
.nav > a:after{
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 5px;
	border-top: 1px solid #666;
	border-right: 1px solid #666;
	transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
	vertical-align: 3px;
}
.nav > a.active:after{
	border-color: #22ac38;
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	vertical-align: -1px;
}
.filter{
	padding: 10px 55px 2px 15px;
	background: #f5f5f5;
}
.filter > ul{
	float: left;
}
.filter li{
	float: left;
	margin: 0 8px 8px 0;
	background-color: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 2px;
}
.filter li > a{
	display: block;
	position: relative;
	padding: 0 10px;
	line-height: 24px;
	font-size: 12px;
	color: #666;
}
.filter li > a:before{
	content: "";
	display: block;
	position: absolute;
	right: 10px;
	top: 8px;
	width: 1px;
	height: 8px;
	background-color: #ccc;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
}
.filter li > a:after{
	content: "";
	display: inline-block;
	width: 1px;
	height: 8px;
	margin-left: 10px;
	background-color: #ccc;
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
}
.filter > a{
	display: block;
	width: 40px;
	float: right;
	margin-right: -40px;
	line-height: 20px;
	font-size: 12px;
	color: #888;
}
.filter > a:before{
	content: "";
	display: inline-block;
	width: 12px;
	height: 14px;
	margin-right: 3px;
	background: url("../img/list.png") 0 -48px;
	background-size: 200px auto;
	vertical-align: -3px;
}
.list.big{
	padding: 0 10px;
	background: #f5f5f5;
}
.list.big > li{
	padding-bottom: 15px;
	border-bottom: none;
}
.list.big a{
	display: block;
	padding: 0;
	text-align: left;
}
.list.big img{
	display: block;
	width: 100%;
	float: none;
	margin-right: 0;
}
.list.big p{
	margin-left: 0;
	background: #fff;
}
.list.big .list-title{
	padding: 15px 15px 0;
	line-height: 18px;
	font-size: 18px;
	color: #252825;
}
.list.big .list-info{
	margin-top: 0;
	padding: 7px 15px 0;
	line-height: 22px;
	font-size: 14px;
	color: #999;
}
.list.big .list-price{
	margin-top: 0;
	padding: 7px 15px 15px;
	line-height: 22px;
	font-size: 20px;
	color: #ff7e00;
}
.loading{
	background: #f5f5f5;
	line-height: 50px;
	font-size: 12px;
	color: #999;
}
.loading:before{
	content: "";
	display: inline-block;
	width: 23px;
	height: 23px;
	margin-right: 5px;
	background: url("../img/list.png") -100px 0;
	background-size: 200px auto;
	vertical-align: middle;
	animation: loadrotate 2s infinite linear;
	-webkit-animation: loadrotate 2s infinite linear;
}
@keyframes loadrotate{
	from{
		transform: rotate(0);
	}
	to{
		transform: rotate(1turn);
	}
}
@-webkit-keyframes loadrotate{
	from{
		-webkit-transform: rotate(0);
	}
	to{
		-webkit-transform: rotate(1turn);
	}
}
.list-popup{
	visibility: hidden;
	position: absolute;
	left: 0;
	top: 85px;
	z-index: 9;
	width: 100%;
	height: calc(100% - 85px);
	height: -webkit-calc(100% - 85px);
	background: rgba(0, 0, 0, 0.7);
}
.sort > li{
	padding: 0 15px;
	background: #fff;
}
.sort a{
	display: block;
	border-bottom: 1px solid #e6e6e6;
	line-height: 42px;
	font-size: 14px;
	color: #252825;
	text-align: left;
}
.sort a.active{
	color: #22ac38;
}
.sort a.active:after{
	content: "";
	display: block;
	width: 14px;
	height: 6px;
	float: right;
	margin: 16px 15px 0 0;
	border-bottom: 1px solid #22ac38;
	border-left: 1px solid #22ac38;
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
}
.sort a:before{
	content: "";
	display: inline-block;
	width: 15px;
	height: 15px;
	margin-right: 5px;
	vertical-align: middle;
	background-image: url("../img/list.png");
	background-size: 200px auto;
}
.sort a.sort-item1:before{
	background-position: 0 -28px;
}
.sort a.sort-item1.active:before{
	background-position: -15px -28px;
}
.sort a.sort-item2:before{
	background-position: -60px -28px;
}
.sort a.sort-item2.active:before{
	background-position: -75px -28px;
}
.sort a.sort-item3:before{
	background-position: -90px -28px;
}
.sort a.sort-item3.active:before{
	background-position: -105px -28px;
}
.sort a.sort-item4:before{
	background-position: -120px -28px;
}
.sort a.sort-item4.active:before{
	background-position: -135px -28px;
}
.sort a.sort-item5:before{
	background-position: -30px -28px;
}
.sort a.sort-item5.active:before{
	background-position: -45px -28px;
}
.sort a.sort-item6:before{
	background-position: -150px -28px;
}
.sort a.sort-item6.active:before{
	background-position: -165px -28px;
}
.price{
	padding: 0 9px 12px;
	background: #fff;
}
.price > li{
	width: 33.33%;
	box-sizing: border-box;
	float: left;
	margin-top: 12px;
	padding: 0 6px;
}
.price a{
	display: block;
	border: 1px solid #e1e1e1;
	border-radius: 2px;
	line-height: 34px;
	font-size: 13px;
	color: #404040;
}
.price a.active{
	background-color: #f1fff3;
	border: 1px solid #22ac38;
	color: #22ac38;
}
.price a.active:after{
	content: "";
	display: inline-block;
	width: 12px;
	height: 7px;
	margin-left: 8px;
	border-bottom: 1px solid #22ac38;
	border-left: 1px solid #22ac38;
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	vertical-align: 3px;
}
.price-range-title{
	padding: 0 15px;
	background: #fff;
}
.price-range-title > p{
	float: left;
	line-height: 50px;
	font-size: 16px;
	color: #252825;
}
.price-range-title > span{
	display: block;
	line-height: 50px;
	float: left;
	font-size: 13px;
	color: #a0a0a0;
}
.price-range-title > a{
	display: block;
	width: 48px;
	height: 24px;
	float: right;
	margin-top: 13px;
	background-color: #22ac38;
	line-height: 24px;
	font-size: 13px;
	color: #fff;
}